//
//  WXSSleepManager.h
//  SleepBooks
//
//  Created by 王勇 on 16/9/20.
//  Copyright © 2016年 rimi. All rights reserved.
//

#import <Foundation/Foundation.h>

@class WXSSleepInfoModel;
@interface WXSSleepManager : NSObject

+(instancetype)defaultManager;

-(void)beginSleep;

-(void)beginSleepWithScheduledEndTime:(NSDate*)scheduledEndDate;

-(void)endSleep;

-(void)sleepInterrupted;

-(void)endSleepNormally:(BOOL)normally;

-(void)enterAwakeStatus:(id)sender;
-(void)enterShallowSleepStatus:(id)sender;
-(void)enterDeepSleepStatus:(id)sender;

-(WXSSleepInfoModel*)sleepInfoWithStartDate:(NSDate*)date;

#warning methods not implemented
-(NSArray <WXSSleepInfoModel*> *)allSleepInfoModel;

-(void)removeAudioFileAtPath:(NSString*)path;
-(void)removeAudioFilesAtDate:(NSDate*)date;
-(void)removeAllFiles;

@end
